/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const positionRouter = {
  path: '/position',
  component: Layout,
  redirect: 'noRedirect',
  hidden:true,
  name: '头寸',
  meta: {
    title: '头寸', icon: 'guide'
  },
  children: [
    {
      path: 'main',
      component: () => import('@/views/position/main'),
      name: '头寸',
      hidden:true,
      meta: { title: '头寸' }
    },
    {
      path: 'purchase',
      component: () => import('@/views/position/purchase'),
      name: '持仓',
      hidden:true,
      meta: { title: '持仓' }
    },
    {
      path: 'shipments',
      component: () => import('@/views/position/shipments'),
      name: '平仓',
      hidden:true,
      meta: { title: '平仓' }
    },
    {
      path: 'authorize',
      component: () => import('@/views/position/authorize'),
      name: '委托',
      hidden:true,
      meta: { title: '委托' }
    },
    {
      path: 'delivery',
      component: () => import('@/views/position/delivery'),
      name: '流水',
      hidden:true,
      meta: { title: '流水'}
    }
  ]
}

export default positionRouter
